package com.celesea.auth.user.service;

import com.celesea.auth.user.entity.UserPerm;
import com.celesea.framework.service.BaseService;

import java.util.List;

/**
 * @Creator yuanhaitao
 */
public interface UserPermService extends BaseService<UserPerm> {

    List<UserPerm> findByUser(String userId);

    int deleteByUser(String userId);

}
